<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>后台管理</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">	
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">	
	<meta name="apple-mobile-web-app-status-bar-style" content="black">	
	<meta name="apple-mobile-web-app-capable" content="yes">	
	<meta name="format-detection" content="telephone=no">	
	<!-- load css -->
	<link rel="stylesheet" type="text/css" href="/Public/admin/layui/css/layui.css" media="all">
	<link rel="stylesheet" type="text/css" href="/Public/admin/global.css" media="all">
	<link rel="stylesheet" type="text/css" href="/Public/admin/css/adminstyle.css" media="all">
</head>
<body>
<div class="layui-layout layui-layout-admin" id="layui_layout">
	<!-- 顶部区域 -->
	<div class="layui-header header header-demo">
		<div class="layui-main">
			<!-- logo区域 -->
			<div class="admin-logo-box">
				<a class="logo" href="/admin" title="logo"><img src="/Public/admin/images/logo.png" alt=""></a>
				<div class="larry-side-menu">
					<i class="fa fa-bars" aria-hidden="true"></i>
				</div>
			</div>
			<!-- 顶级菜单区域 -->
			<div class="layui-larry-menu">
				 <ul class="layui-nav clearfix">
					   <li class="layui-nav-item">
						   <a href="#"><i class="iconfont icon-weixin3"></i>微信公众</a>
					   </li>
					   <li class="layui-nav-item">
						   <a href="#"><i class="iconfont icon-ht_expand"></i>扩展模块</a>
					   </li>
				 </ul>
			</div>
			<!-- 右侧导航 -->
			<ul class="layui-nav larry-header-item">
				<li class="layui-nav-item first">
					<a class="img" title="我的头像" >
						<img src="/Public/admin/images/user.jpg" class="userimg">
						你好！<?php echo session('admin.username'); ?>, 欢迎登录
					</a>
				</li>
				<li class="layui-nav-item">
					<a href="javascript:;">
						<img src="/Public/admin/images/userimg.jpg" class="userimg">
						<cite>默认站点</cite>
						<span class="layui-nav-more"></span>
					</a>
					<dl class="layui-nav-child">
						<dd>
							<a href="/Home/index" target="_blank">网站首页</a>
						</dd>
						<dd>
							<a href="">站点2</a>
						</dd>
					</dl>
				</li>
				<li class="layui-nav-item">
					<a href="javascript:;" id="lock">
					<i class="iconfont icon-diannao1"></i>
					锁屏</a>
				</li>
				<li class="layui-nav-item">
					<a href="/admin/login/logout">
					<i class="iconfont icon-exit"></i>
					退出</a>
				</li>
			</ul>
		</div>
	</div>
	<!-- 左侧侧边导航开始 -->
	<div class="layui-side layui-side-bg layui-larry-side" id="larry-side">
		<div class="layui-side-scroll" id="larry-nav-side" lay-filter="side">
		<!-- 左侧菜单 -->
		<ul class="layui-nav layui-nav-tree">
			<li class="layui-nav-item layui-this">
				<a href="javascript:;" data-url="main.html">
					<i class="iconfont icon-home1" data-icon='icon-home1'></i>
					<span>后台首页</span>
				</a>
			</li>
			<!-- 用户管理 -->
			<li class="layui-nav-item">
				<a href="javascript:;">
				   <i class="iconfont icon-jiaoseguanli2" ></i>
				   <span>用户信息</span>
				   <em class="layui-nav-more"></em>
				</a>
				<dl class="layui-nav-child">
					<?php if( ture ): ?><dd>
							<a href="javascript:;" data-url="/admin/admin">
							   <i class="iconfont icon-jiaoseguanli" data-icon='icon-yonghu1'></i>
							   <span>用户管理</span>
							</a>
						</dd>
						<dd>
							<a href="javascript:;" data-url="/admin/auth">
							   <i class="iconfont icon-jiaoseguanli4" data-icon='icon-jiaoseguanli4'></i>
							   <span>权限管理</span>
							</a>
						</dd>
					<?php else: ?>
						<dd>
							<a href="javascript:;" data-url="/admin/admin/edit/id/<?php echo session('admin.id'); ?>">
							   <i class="iconfont icon-jiaoseguanli" data-icon='icon-yonghu1'></i>
							   <span>编辑信息</span>
							</a>
						</dd><?php endif; ?>
					<dd>
						<a href="javascript:;" data-url="/admin/logs">
						   <i class="iconfont icon-piliangicon" data-icon='icon-yonghu1'></i>
						   <span>用户日志</span>
						</a>
					</dd>
				</dl>
			</li>
			<!-- 系统 -->
			<li class="layui-nav-item">
				<a href="javascript:;">
					<i class="iconfont icon-jiaoseguanli" ></i>
					<span>系统管理</span>
					<em class="layui-nav-more"></em>
				</a>
				<dl class="layui-nav-child">
					<dd>
						<a href="javascript:;" data-url="/admin/system">
							<i class="iconfont icon-geren1" data-icon='icon-geren1'></i>
							<span>网站设置</span>
						</a>
					</dd>
					<dd>
						<a href="javascript:;" data-url="/admin/Cache">
							<i class="iconfont icon-iconfuzhi01" data-icon='icon-iconfuzhi01'></i>
							<span>缓存设置</span>
						</a>
					</dd>
					<dd>
						<a href="javascript:;" data-url="/admin/Cache/update">
							<i class="iconfont icon-piliangicon" data-icon='icon-piliangicon'></i>
							<span>更新中心</span>
						</a>
					</dd>
				</dl>
			</li>
			<!-- 信息 -->
			<li class="layui-nav-item">
				<a href="javascript:;">
				   <i class="iconfont icon-jiaoseguanli2" ></i>
				   <span>内容管理</span>
				   <em class="layui-nav-more"></em>
				</a>
				<dl class="layui-nav-child">
					<dd>
						<a href="javascript:;" data-url="/admin/model">
						   <i class="iconfont icon-quanxian2" data-icon='icon-quanxian2'></i>
						   <span>模型管理</span>
						</a>
					</dd>
					<dd>
						<a href="javascript:;" data-url="/admin/template">
						   <i class="iconfont icon-icon1" data-icon='icon-icon1'></i>
						   <span>模板管理</span>
						</a>
					</dd>
					<dd>
						<a href="javascript:;" data-url="/admin/Content">
						   <i class="iconfont icon-pinglun1" data-icon='icon-pinglun1'></i>
						   <span>信息管理</span>
						</a>
					</dd>
					<dd>
						<a href="javascript:;" data-url="/admin/category">
						   <i class="iconfont icon-wenzhang1" data-icon='icon-wenzhang1'></i>
						   <span>栏目管理</span>
						</a>
					</dd>
				</dl>
			</li>
				<!-- 广告 -->
				<li class="layui-nav-item">
					<a href="javascript:;">
					   <i class="iconfont icon-shengchengbaogao" ></i>
					   <span>广告管理</span>
					   <em class="layui-nav-more"></em>
					</a>
				   <dl class="layui-nav-child">
					   <dd>
						   <a href="javascript:;" data-url="/admin/adp/index">
							  <i class="iconfont icon-zhuti"  data-icon='icon-zhuti'></i>
							  <span>版位管理</span>
						   </a>
					   </dd>
				   </dl>
				</li>
				<!-- 留言管理 -->
				<li class="layui-nav-item">
					<a href="javascript:;">
					   <i class="iconfont icon-iconfuzhi01" data-icon='icon-iconfuzhi01'></i>
					   <span>客户管理</span>
					   <em class="layui-nav-more"></em>
					</a>
				   <dl class="layui-nav-child">
					   <dd>
						   <a href="javascript:;" data-url="/admin/guest">
							  <i class="iconfont icon-sms" data-icon='icon-sms'></i>
							  <span>查看客户留言</span>
						   </a>
					   </dd>
						<dd>
							<a href="javascript:;" data-url="/admin/guestemail">
							   <i class="iconfont icon-database" data-icon='icon-database'></i>
							   <span>转发邮箱管理</span>
							</a>
						</dd>
				   </dl>
				</li>
			<!-- 统计 -->
			<li class="layui-nav-item">
				<a href="javascript:;">
				   <i class="iconfont icon-xitong" ></i>
				   <span>统计</span>
				   <em class="layui-nav-more"></em>
				</a>
					<dl class="layui-nav-child">
						<dd>
							<a href="javascript:;">
							   <i class="iconfont icon-zhandianpeizhi" data-icon='icon-zhandianpeizhi'></i>
							   <span>统计概况</span>
							</a>
						</dd>
						<dd>
							<a href="javascript:;">
							   <i class="iconfont icon-zhandianguanli1" data-icon='icon-zhandianguanli1'></i>
							   <span>搜索引擎</span>
							</a>
						</dd>
						<dd>
							<a href="javascript:;">
							   <i class="iconfont icon-anquanshezhi" data-icon='icon-anquanshezhi'></i>
							   <span>受访分析</span>
							</a>
						</dd>
						<dd>
							<a href="javascript:;">
							   <i class="iconfont icon-sms" data-icon='icon-sms'></i>
							   <span>来路分析</span>
							</a>
						</dd>
						<dd>
							<a href="javascript:;">
							   <i class="iconfont icon-iconfuzhi01" data-icon='icon-iconfuzhi01'></i>
							   <span>访问明细</span>
							</a>
						</dd>
						<dd>
							<a href="javascript:;">
								<i class='iconfont icon-SQLServershujuku' data-icon='icon-SQLServershujuku'></i>
								<span>统计设置</span>
							</a>
						</dd>
					</dl>
				</li>
				
				<!-- 关键字追踪 -->
				<li class="layui-nav-item">
					<a href="javascript:;">
					   <i class="iconfont icon-shengchengbaogao" ></i>
					   <span>关键字追踪</span>
					   <em class="layui-nav-more"></em>
					</a>
				   <dl class="layui-nav-child">
					   <dd>
						   <a href="javascript:;">
							  <i class="iconfont icon-zhuti"  data-icon='icon-zhuti'></i>
							  <span>查看</span>
						   </a>
					   </dd>
				   </dl>
				</li>
				<!-- 竞争对手SEO查询系统 -->
				<li class="layui-nav-item">
					<a href="javascript:;">
					   <i class="iconfont icon-shengchengbaogao" ></i>
					   <span>竞争对手SEO查询系统</span>
					   <em class="layui-nav-more"></em>
					</a>
				   <dl class="layui-nav-child">
					   <dd>
						   <a href="javascript:;">
							  <i class="iconfont icon-zhuti"  data-icon='icon-zhuti'></i>
							  <span>查看</span>
						   </a>
					   </dd>
				   </dl>
				</li>
				<!-- 客户邮箱抓取系统 -->
				<li class="layui-nav-item">
					<a href="javascript:;">
					   <i class="iconfont icon-shengchengbaogao" ></i>
					   <span>客户邮箱抓取系统</span>
					   <em class="layui-nav-more"></em>
					</a>
				   <dl class="layui-nav-child">
					   <dd>
						   <a href="javascript:;">
							  <i class="iconfont icon-zhuti"  data-icon='icon-zhuti'></i>
							  <span>查看</span>
						   </a>
					   </dd>
				   </dl>
				</li>
			</ul>
		</div>
	</div>

	<!-- 左侧侧边导航结束 -->
	<!-- 右侧主体内容 -->
	<div class="layui-body" id="larry-body" style="bottom: 0;border-left: solid 2px #1AA094;">
		<div class="layui-tab layui-tab-card larry-tab-box" id="larry-tab" lay-filter="demo" lay-allowclose="true">
			<ul class="layui-tab-title">
				<li class="layui-this" id="admin-home"><i class="iconfont icon-diannao1"></i><em>后台首页</em></li>
			</ul>
			<div class="layui-tab-content" style="min-height: 150px; ">
				<div class="layui-tab-item layui-show">
					<iframe class="larry-iframe" data-id='0' src="/admin/index/main"></iframe>
				</div>
			</div>
		</div>
	</div>
	<!-- 底部区域 -->
	<div class="layui-footer layui-larry-foot" id="larry-footer">
		<div class="layui-mian">
			<div class="larry-footer-left">
			</div>
			<p class="p-admin">
				<span>2016 &copy;</span>
				Write by Larry,<a href="">XiWeiCMS</a>. 版权所有
			</p>
		</div>
	</div>
</div>
<!-- 加载js文件-->
	<script type="text/javascript" src="/Public/admin/layui/layui.js"></script> 
	<script type="text/javascript" src="/Public/admin/js/larry.js"></script>
	<script type="text/javascript" src="/Public/admin/js/index.js"></script>
<!-- 锁屏 -->
<div class="lock-screen" style="display: none;">
	<div id="locker" class="lock-wrapper">
		<div id="time"></div>
		<div class="lock-box center">
			<img src="/Public/admin/images/userimg.jpg" alt="">
			<h1>admin</h1>
			<duv class="form-group col-lg-12">
				<input type="password" placeholder='锁屏状态，请输入密码解锁' id="lock_password" class="form-control lock-input" autofocus name="lock_password">
				<button id="unlock" class="btn btn-lock">解锁</button>
			</duv>
		</div>
	</div>
</div>
<!-- 菜单控件 -->
<!-- <div class="larry-tab-menu">
	<span class="layui-btn larry-test">刷新</span>
</div> -->
<!-- iframe框架刷新操作 -->
<!-- <div id="refresh_iframe" class="layui-btn refresh_iframe">刷新</div> -->
</body>
</html>